<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
	<head>
		<base href="<%=basePath%>">
		<title>考试管理中心登录</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">    
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
			<link rel="stylesheet" type="text/css" href="styles.css">
		-->
		<link href="<%=basePath %>scripts/static/h-ui/css/H-ui.min.css" rel="stylesheet" type="text/css" />
		<link href="<%=basePath %>scripts/static/h-ui.admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
		<link href="<%=basePath %>scripts/static/h-ui.admin/css/style.css" rel="stylesheet" type="text/css" />
		<link href="<%=basePath %>scripts/lib/Hui-iconfont/1.0.7/iconfont.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="<%=basePath%>scripts/jquery-1.9.1.js"></script>
		<script type="text/javascript" src="<%=basePath%>scripts/login.js"></script>
		<script type="text/javascript">
			$(function(){
				var msg = '<%=request.getParameter("msg")%>';
				if(msg=='null'){
					
				}else{
					$("#msg").text(msg);
				}
			});
		</script>
	</head>
	<body>
		<input type="hidden" id="TenantId" name="TenantId" value="" />
		<div class="header"></div>
			<div class="loginWraper">
  				<div id="loginform" class="loginBox">
    				<form class="form form-horizontal" action="<%=basePath %>login" method="post" onsubmit="return checkLogin()">
      					<div class="row cl">
        					<label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
        					<div class="formControls col-xs-8">
          						<input id="uno" name="mno" type="text" placeholder="账户" class="input-text size-L">
        					</div>
     					</div>
      					<div class="row cl">
        					<label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
        					<div class="formControls col-xs-8">
         						<input id="upwd" name="mpassword" type="password" placeholder="密码" class="input-text size-L">
        					</div>
      					</div>
      					<div class="row cl">
        					<div class="formControls col-xs-8 col-xs-offset-3">
          						<label for="online">
    								<p id="msg" class="c-red"></p>
    							</label>
        					</div>
      					</div>
      					<div class="row cl">
        					<div class="formControls col-xs-8 col-xs-offset-3">
          						<input type="submit" class="btn btn-success radius size-L" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
          						<input type="reset" class="btn btn-default radius size-L" value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
        					</div>
      					</div>
    				</form>
  				</div>
			</div>
	</body>
</html>